package com.lzxuni.modules.disease.service;

import com.github.pagehelper.PageInfo;
import com.lzxuni.modules.disease.entity.DiseaseManagement;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lzxuni.modules.common.entity.PageParameter;
import com.lzxuni.modules.soilmoisture.entity.TblSoilMoisture;
import com.lzxuni.modules.weather.entity.WeatherInfo;
import org.apache.poi.ss.usermodel.Workbook;

import java.io.IOException;
import java.util.List;

/**
 * <p>
 * 病情管理 服务类
 * </p>
 *
 * @author gyl
 * @since 2020-12-02
 */
public interface DiseaseManagementService extends IService<DiseaseManagement> {

        //查询分页信息
        PageInfo<DiseaseManagement> queryPage(PageParameter pageParameter, DiseaseManagement diseaseManagement);
        PageInfo<DiseaseManagement> queryPage2(PageParameter pageParameter, DiseaseManagement diseaseManagement);
        PageInfo<DiseaseManagement> queryPage3(PageParameter pageParameter, DiseaseManagement diseaseManagement);

        //列表
        List<DiseaseManagement> queryList(DiseaseManagement diseaseManagement);
        Workbook exportExcel(DiseaseManagement diseaseManagement) throws IOException;
        Workbook exportExcel2(DiseaseManagement diseaseManagement) throws IOException;
        Workbook exportExcel3(DiseaseManagement diseaseManagement) throws IOException;
        Workbook exportExcelMonth(DiseaseManagement diseaseManagement) throws IOException;
        Workbook exportExcelYear(DiseaseManagement diseaseManagement) throws IOException;

        List<DiseaseManagement> queryMonthList(DiseaseManagement diseaseManagement);
        List<DiseaseManagement> queryMonthListGroup(DiseaseManagement diseaseManagement);
        List<DiseaseManagement> queryMList(DiseaseManagement diseaseManagement);

        List<DiseaseManagement> queryYearList(DiseaseManagement diseaseManagement);
        List<DiseaseManagement> queryYearListGroup(DiseaseManagement diseaseManagement);
        List<DiseaseManagement> queryYList(DiseaseManagement diseaseManagement);


        List<DiseaseManagement> queryListThree( );

}
